<%@ page pageEncoding="utf-8"%>
<%@ include file="/header.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<style>
*{font-family:"微软雅黑";font-size:14px}
</style>
<a href="${ctx }/admin/user?q=logout">退出</a>
所有留言内容<br><br>
<c:forEach items="${requestScope['guestbook.admin.list']}" var="gb">
<div align="center">
  <table width="300" height="150" border="1" bgcolor="#CCCCCC">
    <tr>
      <td>编号：</td>
      <td colspan="2"><c:out value="${gb.id}"/></td>
    </tr>
    <tr>
      <td>姓名：</td>
      <td colspan="2"><c:out value="${gb.name}"/></td>
    </tr>
    <tr>
      <td>主题：</td>
      <td colspan="2"><c:out value="${gb.title}"/></td>
    </tr>
    <tr>
      <td>操作：</td>
      <td><a href="${ctx}/admin/secure/manage?q=edit&id=${gb.id}">编辑</td>
      <td><a href="${ctx}/admin/secure/manage?q=delete&id=${gb.id}">删除</td>
    </tr>
  </table>
  <br><br>
</div>
</c:forEach>
<%@ include file="/footer.htm"%>
